/**
 *
 * @author 
 *
 */
class Tank extends egret.Bitmap{
    type: string;
    
	public constructor(tanktype:string,x:number,y:number) {
        super();
        this.type = tanktype;
        var texture: egret.Texture = RES.getRes(tanktype);
        this.texture = texture;
        this.scaleX = 0.2;
        this.scaleY = 0.2;
        this.anchorOffsetX = this.width / 2;
        this.anchorOffsetY = this.height / 2;
        this.x = x;
        this.y = y;        
	}
}
